package com.onemore.cc.common.bean;

/**
 * Create by lizihao
 * Desc: 后台返回的结构
 * Date: 2018/9/19
 */
public class Result<T> {
    private T data;
    private int page_num;
    private int total;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getPage_num() {
        return page_num;
    }

    public void setPage_num(int page_num) {
        this.page_num = page_num;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    @Override
    public String toString() {
        return "Result{" +
                "data=" + data +
                ", page_num=" + page_num +
                ", total=" + total +
                '}';
    }

}
